Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. reboot problem
    Log in to post

    • N

      Problems with the files names "boot" and "main" and rebooting device
      FiPy • fipy pymakr boot.py main.py reboot problem • • nervencid  

      3
      0
      Votes
      3
      Posts
      373
      Views

      robert-hh

      @nervencid You can use any name for your scripts. Only boot.py and main.py are executed as part of the boot process. If you want to run your script then, you have to add a statement like: import myscript e.g. to main.py. You should be able to stop your script with Ctr-C from the console, unless you disable that in your code. To isolate the problems, try running your code with a simple terminal like Putty. Note: You can change the name of the file which is run instead of main.py with machine.main(). The only useful place for that command is in boot.py.
    • Nagarjuna Reddy

      LopY Reboot problem
      LoPy • upload failure reboot problem lopy reboot lopy upload fai reboot device • • Nagarjuna Reddy  

      3
      0
      Votes
      3
      Posts
      1235
      Views

      Nagarjuna Reddy

      @seb bolded text Thank you your valuable information
    • 1 / 1